package com.example.shgt.entity;

import java.util.List;

public class Record {
    // 卖家所在地
    private String addr;

    // API接口共享标记
    private int appIsShare;

    // 用户所创建的应用key
    private String appKey;

    // 当前商品发布者头像
    private String avatar;

    // 商品描述
    private String content;

    // 创建时间（时间戳，精确到毫秒）
    private long createTime;

    // 主键id
    private long id;

    // 一组图片的唯一标识
    private long imageCode;

    // 图片的list集合
    private List<String> imageUrlList;

    // 商品价格
    private int price;

    // 状态
    private int status;

    // 当前登录用户id
    private long tUserId;

    // 当前商品发布者用户id
    private long tuserId;

    // 商品类型id
    private int typeId;

    // 商品类型名称
    private String typeName;

    // 当前商品发布者用户名
    private String username;

    // Getter and Setter methods

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public int getAppIsShare() {
        return appIsShare;
    }

    public void setAppIsShare(int appIsShare) {
        this.appIsShare = appIsShare;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getImageCode() {
        return imageCode;
    }

    public void setImageCode(long imageCode) {
        this.imageCode = imageCode;
    }

    public  List<String> getImageUrlList() {
        return imageUrlList;
    }

    public void setImageUrlList(List<String> imageUrlList) {
        this.imageUrlList = imageUrlList;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public long getTUserId() {
        return tUserId;
    }

    public void setTUserId(long tUserId) {
        this.tUserId = tUserId;
    }

    public long getTuserId() {
        return tuserId;
    }

    public void setTuserId(long tuserId) {
        this.tuserId = tuserId;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {

        return "Record{" +
                " id='" + id + '\'' +
                ", appKey='" + appKey + '\'' +
                ", tUserId='" + tUserId + '\'' +
                ", imageCode=" + imageCode +
                ", content='" + content + '\'' +
                ", price='" + price + '\'' +
                ", addr='" + addr + '\'' +
                ", typeId='" + typeId + '\'' +
                ", typeName='" + typeName + '\'' +
                ", status='" + status + '\'' +
                ", createTime='" + createTime + '\'' +
                ", userName='" + username + '\'' +
                ", avatar='" + avatar + '\'' +
                ", imageUrlList='" + imageUrlList + '\'' +
                ", appIsShare='" + appIsShare + '\'' +
                ", tuserId='" + tuserId + '\'' +
                '}';
    }


}




